package com.czkt.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.czkt.entity.SalChance;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2024-06-18
 */
public interface ISalChanceService extends IService<SalChance> {

    IPage<SalChance> chanceIPage( String custName, String chcDesc,Long roleId,Integer pageIndex,Integer pageSize);

    void chanceInsert(SalChance salChance);

    SalChance chanceEdit(String chcId);

    void toUpdateChance(SalChance salChance);

    void deleteByChcId(String chcId);
}
